package cn.mxb.logic.service;

import java.util.List;

import cn.mxb.floor.pagination.Result;
import cn.mxb.logic.entity.MxbBingli;

public interface IMxbBingliService {
	
	/**
	 *  根据property的value查询 
	 * @param property
	 * @param value
	 * @return MxbBingli
	 */
	public MxbBingli findByProperty(String property,String value);
	/**
	 * @return_type: Result<MxbBingli>
	 * @file_name: 分页查询
	 */
	public Result<MxbBingli> find(MxbBingli mxbBingli,int page, int row);
	
	/**
	 * @return_type: MxbBingli
	 * @file_name: 添加
	 */
	public MxbBingli add(MxbBingli mxbBingli);
	
	/**
	 * 删除
	 * @return_type: void
	 */
	public void delete(int id);
	
	/**
	 * 修改
	 * @return_type: void
	 */
	public void update(MxbBingli mxbBingli);
	
	public void updatetablebyproperty(String table,String field,String property,String value,int fieldvalue);
    
    /**
     * 根据property的value查询 
     * @return_type: List<MxbBingli>
     */
    public List<MxbBingli> findListByProperty(String property,String value);
    /**
     * 根据property的value查询 
     * @return_type: List<MxbBingli>
     */
    public List<MxbBingli> findListByPropertyTwo(String property1,String value1,String property2,String value2);
    
    /**
     * 全部查询
     * @return_type: List<MxbBingli>
     */
    public List<MxbBingli> findAllList();
    
}
